/*
 * This source code is part of TWaver 4.0
 *
 * Serva Software PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 * Copyright 2002 - 2011 Serva Software. All rights reserved.
 */

package demo.editor.drawing.element;

import java.awt.Color;

import twaver.ShapeNode;
import twaver.TWaverConst;

public class QuadCurve extends ShapeNode{
	
	public QuadCurve(){
		this.init();
	}
	public QuadCurve(Object id){
		super(id);
		this.init();
	}
	
	private void init(){
		this.putBorderColor(Color.WHITE);
		this.setShapeNodeType(TWaverConst.SHAPENODE_QUADRATIC_CURVE);
		this.putCustomDrawOutlineColor(Color.CYAN);
		this.putCustomDrawOutlineStroke(TWaverConst.STROKE_ZIGZAG_MIDDLE);
	}
}